public class LoGicalOperators {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		// && - AND
		// || - OR
		// ! - NOT

		int age = 16;
		boolean isHaveValidDrivingLicence = false;

		if (!(age >= 18)) {
			System.out
					.println("Yes Your are elgible to Drive : " + (age >= 18));
		} else {
			System.out
					.println("NO You are not elgible to Drive " + (age >= 18));
		}

	}

}
